/**
 * 项目名称（软件名称）：忠旺机械物资管理系统(mms)
 * 研发设计单位：忠旺机械设备制造有限公司机械设计院智能控制设计科设计与研发。
 * 版权所有：忠旺机械设备制造有限公司
 * 注：本项目的一切技术专利，使用规范归解释权由忠旺机械设备制造有限公司所有。
 * 软件版本：Ver 1.0.0
 * 文件路径：com.zhongwang.mms.module.purchase.model
 * 创建时间：2020年03月24日 16时47分
 **/
package com.zhongwang.mms.module.purchase.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhongwang.mms.base.BaseModel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName： PInventoryModel
 * @Description：
 * @Author： 徐一贺
 * @Date： 2020/3/24 16:47
 * @Version： V1.0
 **/
@Data
public class PInventoryModel extends BaseModel {
    private Integer ityId;

    private String ityMatCode;

    private String ityMatDesc;

    private String ityProCode;

    private String ityProName;

    private String ityPart;

    private Double ityNum;

    private Double ityWeight;

    private Double ityAvaNum;

    private Double ityAvaWeight;

    private String ityNumUnit;

    private String ityWeightUnit;

    private Double ityPrice;

    private Double ityAmount;

    private String ityBrand;

    private String itySat;

    private String ityPosition;

    private Integer ityWhiId;
    private String ityWhiName;

    private String itySapCode;

    private String ityTrackCode;

    private String ityRemark;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date ityBookkeepingDate;

    private Integer ityDataStatus;

    private Integer ityRowNo;

    private Integer ityStockType;

    /**
     * 调整原因
     */
    private String adjReason;


    private Integer odaId;

    private Integer odaRushId;

    private Integer odaOdrId;

    private Integer odaType;

    private String odaProCode;

    private String odaProName;

    private String odaPart;

    private String odaMatCode;

    private String odaMatDesc;

    private Double odaNum;

    private Double odaWeight;

    private String odaPosition;

    private Integer odaWhiId;

    private String odaNumUnit;

    private String odaWeightUnit;

    private Double odaTotalPrice;

    private String odaBrand;

    private String odaSat;

    private String odaRemark;

    private String odaBackDate;

    private String odaSapCode;

    private String odaTrackCode;

    private Integer odaItyId;

    private String odaPurCode;

    private String odaSupplier;

    private String odaPlanDept;

    private Integer odaRedFlag;

    private Date odaRedDate;

    private String odaRedUser;

    private Double odaNumPrice;

    private Double odaWeightPrice;

    private String odaSpec;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date odaBookkeepingDate;

    private String odaTakeType;

    private Integer odaOutWhiId;

    private Integer odaInWhiId;
    private String odaStockTypeText;

    private Integer proId;

    private String proCode;

    private String proName;

    private Integer proNum;

    private Integer proProductionStatus;

    private String proProductionStatusMultiple;

    private String proPart;

    private Integer whiId;

    private String whiCode;

    private String whiName;

    private String whiAddress;

    private String whiRemark;

    private Integer depId;

    private String depName;

    private Integer depOrderNo;

    private Integer depStatus;

    private Integer depPid;

    private Date depCreateTime;

    private String ityIds;

   @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date odrMakeDate;


    private Integer odrId;

    private String odrCode;

    private Integer odrType;

    private Integer odrRedFlag;

    private Integer odrChangeFlag;

    private Integer odrReqFlag;

    private Date odrDate;

    private String odrTakePerson;

    private String odrRemark;

    private String odaCaseNo;

    private Integer odrTakeWorkshopId;

    private Integer odrMakePersonId;

    private Integer odrAdjustFlag;

    private Integer odrOutType;

    private Integer odrDept;
    /**
     * 箱号
     */
    @ExcelIgnore
    private String ityCaseNo;
    /**
     * 0或者NULL代表非与串料有关，1代表由于串料生成的库存信息，2代表被串料的库存信息。
     */
    @ExcelIgnore
    private Integer ityChangeFlag;

    /**
     * 0或者NULL代表非与库存划项目有关，1代表由于库存划项目生成的库存信息，2代表被库存划项目的库存信息。
     */
    @ExcelIgnore
    private Integer ityInvProFlag;

    /**
     * 0或者NULL代表调整过，1代表被调整过。
     */
    @ExcelIgnore
    private Integer ityAdjustFlag;

    /**
     * 0或者NULL代表非与项目划库存有关，1代表由于项目化库存生成的库存信息，2代表被项目化库存的库存信息。
     */
    @ExcelIgnore
    private Integer ityProInvFlag;

    /**
     * 0或者NULL代表没有台账信息，1代表拥有台账信息。
     */
    @ExcelIgnore
    private Integer ityMaterielInfoFlag;

    /**
     * 0或者NULL代表没有附件信息，1代表拥有附件信息。
     */
    @ExcelIgnore
    private Integer ityAnnexFlag;

    /**
     * 项目编号
     */
    private String code;
    /**
     * 项目名称
     */
    private String name;
    /**
     * 项目数量
     */
    private String num;
    /**
     * 外购件总数
     */
    private Integer purCount;
    /**
     * 该项目外购件总金额
     */
    private BigDecimal totalAmount;

    /**
     * 机械备件库备注类型
     */
    private String ityRemarkType;

    /**
     * 机械备件库备注类型
     */
    private String odaRemarkType;
    private  String contractNo;//合同编号

}